package com.freedom.pms.goods.application.converter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freedom.pms.goods.domain.pojo.bo.GoodsSpuBO;
import com.freedom.pms.goods.infrastructure.persistence.pojo.vo.AdminGoodsSpuDetailVO;
import com.freedom.pms.goods.infrastructure.persistence.pojo.vo.AdminGoodsSpuPageVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface GoodsSpuConverter {


    Page<AdminGoodsSpuPageVO> toPageVO(Page<GoodsSpuBO> goodsSpuBOPage);

    AdminGoodsSpuDetailVO toDetailVO(GoodsSpuBO goodsSpuBO);
}